package com.hunt.model.entity;

/**
 * @author sjs
 * @className
 * @description
 * @date 2020/9/30
 */

public class DayKLine {

    private long _id;
    private String code;
    private float open;

    public double getFrontHigh() {
        return frontHigh;
    }

    public void setFrontHigh(double frontHigh) {
        this.frontHigh = frontHigh;
    }

    public double getFrontOpen() {
        return frontOpen;
    }

    public void setFrontOpen(double frontOpen) {
        this.frontOpen = frontOpen;
    }

    public double getFrontLow() {
        return frontLow;
    }

    public void setFrontLow(double frontLow) {
        this.frontLow = frontLow;
    }

    public double getFrontClose() {
        return frontClose;
    }

    public void setFrontClose(double frontClose) {
        this.frontClose = frontClose;
    }

    public double getBackHigh() {
        return backHigh;
    }

    public void setBackHigh(double backHigh) {
        this.backHigh = backHigh;
    }

    public double getBackOpen() {
        return backOpen;
    }

    public void setBackOpen(double backOpen) {
        this.backOpen = backOpen;
    }

    public double getBackLow() {
        return backLow;
    }

    public void setBackLow(double backLow) {
        this.backLow = backLow;
    }

    public double getBackClose() {
        return backClose;
    }

    public void setBackClose(double backClose) {
        this.backClose = backClose;
    }

    private float high;
    private float low;
    private float close;

    private float preClose;
    private String change;
    private String hlPercent;


    private double vol;

    public double getFrontPreClose() {
        return frontPreClose;
    }

    public void setFrontPreClose(double frontPreClose) {
        this.frontPreClose = frontPreClose;
    }

    public double getBackPreClose() {
        return backPreClose;
    }

    public void setBackPreClose(double backPreClose) {
        this.backPreClose = backPreClose;
    }

    private double money;
    private double frontHigh;
    private double frontOpen;
    private double frontLow;
    private double frontClose;
    private double frontPreClose;
    private double backHigh;
    private double backOpen;
    private double backLow;
    private double backClose;
    private double backPreClose;


    //private String amount;

    public long get_id() {
        return _id;
    }

    public void set_id(long _id) {
        this._id = _id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public float getOpen() {
        return open;
    }

    public void setOpen(float open) {
        this.open = open;
    }

    public float getHigh() {
        return high;
    }

    public void setHigh(float high) {
        this.high = high;
    }

    public float getLow() {
        return low;
    }

    public void setLow(float low) {
        this.low = low;
    }

    public float getClose() {
        return close;
    }

    public void setClose(float close) {
        this.close = close;
    }

    public float getPreClose() {
        return preClose;
    }

    public void setPreClose(float preClose) {
        this.preClose = preClose;
    }

    public String getChange() {
        return change;
    }

    public void setChange(String change) {
        this.change = change;
    }

    public String getHlPercent() {
        return hlPercent;
    }

    public void setHlPercent(String hlPercent) {
        this.hlPercent = hlPercent;
    }

    public double getVol() {
        return vol;
    }

    public void setVol(double vol) {
        this.vol = vol;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }



    @Override
    public String toString() {
        return "DayKLine{" +
                "_id='" + _id + '\'' +
                ", code='" + code + '\'' +
                ", open=" + open +
                ", high=" + high +
                ", low=" + low +
                ", close=" + close +
                ", preClose=" + preClose +
                ", change=" + change +
                ", hlPercent=" + hlPercent +
                ", vol=" + vol +
                ", money=" + money +
                '}';
    }
}
